package com.joe.pattern.observer;

/**
 * @Description
 * @Author 高建伟-joe
 * @Date 2024-01-12
 */
public class WeixinUser implements Observer{

    private String name;

    public WeixinUser(String name){
        this.name = name;
    }

    @Override
    public void update(String message) {
        System.out.println(name + "接收通知信息：" + message);
    }
}
